package cinema.v1_1.model;

public class Session {
    private String id;
    private String movieId;
    private String hallId;
    private String startTime; // yyyy-MM-dd HH:mm
    private double price;

    public Session(String id, String movieId, String hallId, String startTime, double price) {
        this.id = id;
        this.movieId = movieId;
        this.hallId = hallId;
        this.startTime = startTime;
        this.price = price;
    }

    public String getId()         { return id; }
    public String getMovieId()    { return movieId; }
    public String getHallId()     { return hallId; }
    public String getStartTime()  { return startTime; }
    public double getPrice()      { return price; }

    public void setMovieId(String movieId)     { this.movieId = movieId; }
    public void setHallId(String hallId)       { this.hallId = hallId; }
    public void setStartTime(String startTime) { this.startTime = startTime; }
    public void setPrice(double price)         { this.price = price; }
}